package com.onegene.pdf.component.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ParaExtraParam {
    private Boolean firstIndent = false;
    private float indent = 24;
    private float titleFontSize = 15f;
    private Boolean lineHeightEnabled = false;
    private float lineHeight = 1.8f;

    public ParaExtraParam(Boolean firstIndent) {
        this.firstIndent = firstIndent;
    }

    public ParaExtraParam(Boolean firstIndent, Boolean lineHeightEnabled) {
        this.firstIndent = firstIndent;
        this.lineHeightEnabled = lineHeightEnabled;
    }

    public ParaExtraParam(Boolean firstIndent, float indent, Boolean lineHeightEnabled) {
        this.firstIndent = firstIndent;
        this.indent = indent;
        this.lineHeightEnabled = lineHeightEnabled;
    }
}